package top.chmin.project.cloud.sys.index.column.info;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.PostMapping;
import lombok.experimental.Accessors;
import lombok.Setter;
import lombok.Getter;


/**
 * chmin
 * 2024-01-26 13:56:02
 * cloud-code
 */
public interface IndexColumnInfoSaveRest {

    @PostMapping("/cloud-code/indexColumnInfo/auto/save")
    int save(@RequestBody P p);

    @Getter
    @Setter
    @Accessors(chain = true)
    class P {
        /*###########auto#start###########*/
        // column编号
        private String columnCode;
        // column顺序
        private Integer columnOrderNo;
        // index编号
        private String indexCode;
        /*###########auto##end############*/
        /* append $modelFieldAppender$ */
    }

}
